/*
 * bullet.h
 *
 *  Created on: 24 jan 2010
 *      Author: Fidd
 */

#ifndef BULLET_H_
#define BULLET_H_

#include "engine/graphics/Sprite.h"

struct BulletType {
	int power;
	int speed;
	string image;
};

class Bullet: public Sprite {
public:
	static void declareBulletTypes();
	static const int BULLET_LASER = 1;

	Bullet(int type, float angle,float dx,float dy, bool addSpeed=true);
	virtual ~Bullet();
	int getType() {return type;}
private:
	static BulletType bulletTypes[2];
	int type;
};
#endif /* BULLET_H_ */
